home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_id-utils.idb / usr / freeware / share / emacs / site-lisp / id-utils.elc.z / id-utils.elc
Emacs Compiled Lisp  |  1998-10-28  |  1.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 77 74 6b 40 73 70 69 |piled by| wtk@spi|
|00000020| 6b 65 73 2e 65 6e 67 72 | 2e 73 67 69 2e 63 6f 6d |kes.engr|.sgi.com|
|00000030| 20 6f 6e 20 57 65 64 20 | 41 75 67 20 20 35 20 31 | on Wed |Aug 5 1|
|00000040| 31 3a 32 38 3a 30 36 20 | 31 39 39 38 0a 3b 3b 3b |1:28:06 |1998.;;;|
|00000050| 20 66 72 6f 6d 20 66 69 | 6c 65 20 2f 64 33 2f 46 | from fi|le /d3/F|
|00000060| 72 65 65 77 61 72 65 2f | 69 64 2d 75 74 69 6c 73 |reeware/|id-utils|
|00000070| 2f 33 2e 32 2f 69 64 2d | 75 74 69 6c 73 2d 33 2e |/3.2/id-|utils-3.|
|00000080| 32 2f 6c 69 73 70 2f 65 | 6c 63 2e 32 36 34 34 35 |2/lisp/e|lc.26445|
|00000090| 2f 69 64 2d 75 74 69 6c | 73 2e 65 6c 0a 3b 3b 3b |/id-util|s.el.;;;|
|000000a0| 20 65 6d 61 63 73 20 76 | 65 72 73 69 6f 6e 20 31 | emacs v|ersion 1|
|000000b0| 39 2e 33 30 2e 31 2e 0a | 3b 3b 3b 20 62 79 74 65 |9.30.1..|;;; byte|
|000000c0| 63 6f 6d 70 20 76 65 72 | 73 69 6f 6e 20 46 53 46 |comp ver|sion FSF|
|000000d0| 20 32 2e 31 30 0a 3b 3b | 3b 20 6f 70 74 69 6d 69 | 2.10.;;|; optimi|
|000000e0| 7a 61 74 69 6f 6e 20 69 | 73 20 6f 6e 2e 0a 3b 3b |zation i|s on..;;|
|000000f0| 3b 20 74 68 69 73 20 66 | 69 6c 65 20 75 73 65 73 |; this f|ile uses|
|00000100| 20 6f 70 63 6f 64 65 73 | 20 77 68 69 63 68 20 64 | opcodes| which d|
|00000110| 6f 20 6e 6f 74 20 65 78 | 69 73 74 20 69 6e 20 45 |o not ex|ist in E|
|00000120| 6d 61 63 73 20 31 38 2e | 0a 0a 28 69 66 20 28 61 |macs 18.|..(if (a|
|00000130| 6e 64 20 28 62 6f 75 6e | 64 70 20 27 65 6d 61 63 |nd (boun|dp 'emac|
|00000140| 73 2d 76 65 72 73 69 6f | 6e 29 0a 09 20 28 6f 72 |s-versio|n).. (or|
|00000150| 20 28 61 6e 64 20 28 62 | 6f 75 6e 64 70 20 27 65 | (and (b|oundp 'e|
|00000160| 70 6f 63 68 3a 3a 76 65 | 72 73 69 6f 6e 29 20 65 |poch::ve|rsion) e|
|00000170| 70 6f 63 68 3a 3a 76 65 | 72 73 69 6f 6e 29 0a 09 |poch::ve|rsion)..|
|00000180| 20 20 20 20 20 28 73 74 | 72 69 6e 67 2d 6c 65 73 | (st|ring-les|
|00000190| 73 70 20 65 6d 61 63 73 | 2d 76 65 72 73 69 6f 6e |sp emacs|-version|
|000001a0| 20 22 31 39 2e 32 39 22 | 29 29 29 0a 20 20 20 20 | "19.29"|))). |
|000001b0| 28 65 72 72 6f 72 20 22 | 60 69 64 2d 75 74 69 6c |(error "|`id-util|
|000001c0| 73 2e 65 6c 27 20 77 61 | 73 20 63 6f 6d 70 69 6c |s.el' wa|s compil|
|000001d0| 65 64 20 66 6f 72 20 45 | 6d 61 63 73 20 31 39 2e |ed for E|macs 19.|
|000001e0| 32 39 20 6f 72 20 6c 61 | 74 65 72 22 29 29 0a 0a |29 or la|ter"))..|
|000001f0| 0a 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 c1 21 |.(byte-c|ode "..!|
|00000200| 88 c2 c3 21 87 22 20 5b | 72 65 71 75 69 72 65 20 |...!." [|require |
|00000210| 63 6f 6d 70 69 6c 65 20 | 70 72 6f 76 69 64 65 20 |compile |provide |
|00000220| 69 64 2d 75 74 69 6c 73 | 5d 20 32 29 0a 23 40 33 |id-utils|] 2).#@3|
|00000230| 38 20 54 68 65 20 63 6f | 6d 6d 61 6e 64 20 72 75 |8 The co|mmand ru|
|00000240| 6e 20 62 79 20 74 68 65 | 20 67 69 64 20 66 75 6e |n by the| gid fun|
|00000250| 63 74 69 6f 6e 2e 1f 0a | 28 64 65 66 76 61 72 20 |ction...|(defvar |
|00000260| 67 69 64 2d 63 6f 6d 6d | 61 6e 64 20 22 67 69 64 |gid-comm|and "gid|
|00000270| 22 20 28 23 24 20 2e 20 | 35 36 32 29 29 0a 23 40 |" (#$ . |562)).#@|
|00000280| 32 34 33 20 52 75 6e 20 | 67 69 64 2c 20 77 69 74 |243 Run |gid, wit|
|00000290| 68 20 75 73 65 72 2d 73 | 70 65 63 69 66 69 65 64 |h user-s|pecified|
|000002a0| 20 41 52 47 53 2c 20 61 | 6e 64 20 63 6f 6c 6c 65 | ARGS, a|nd colle|
|000002b0| 63 74 20 6f 75 74 70 75 | 74 20 69 6e 20 61 20 62 |ct outpu|t in a b|
|000002c0| 75 66 66 65 72 2e 0a 57 | 68 69 6c 65 20 67 69 64 |uffer..W|hile gid|
|000002d0| 20 72 75 6e 73 20 61 73 | 79 6e 63 68 72 6f 6e 6f | runs as|ynchrono|
|000002e0| 75 73 6c 79 2c 20 79 6f | 75 20 63 61 6e 20 75 73 |usly, yo|u can us|
|000002f0| 65 20 74 68 65 20 5c 5b | 6e 65 78 74 2d 65 72 72 |e the \[|next-err|
|00000300| 6f 72 5d 20 63 6f 6d 6d | 61 6e 64 20 74 6f 0a 66 |or] comm|and to.f|
|00000310| 69 6e 64 20 74 68 65 20 | 74 65 78 74 20 74 68 61 |ind the |text tha|
|00000320| 74 20 67 69 64 20 68 69 | 74 73 20 72 65 66 65 72 |t gid hi|ts refer|
|00000330| 20 74 6f 2e 20 54 68 65 | 20 63 6f 6d 6d 61 6e 64 | to. The| command|
|00000340| 20 61 63 74 75 61 6c 6c | 79 20 72 75 6e 20 69 73 | actuall|y run is|
|00000350| 0a 64 65 66 69 6e 65 64 | 20 62 79 20 74 68 65 20 |.defined| by the |
|00000360| 67 69 64 2d 63 6f 6d 6d | 61 6e 64 20 76 61 72 69 |gid-comm|and vari|
|00000370| 61 62 6c 65 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |able...(|defalias|
|00000380| 20 27 67 69 64 20 23 5b | 28 61 72 67 73 29 20 22 | 'gid #[|(args) "|
|00000390| c0 09 c2 1b 1c 1d c6 0e | 07 c8 0e 09 51 21 2b 87 |........|....Q!+.|
|000003a0| 22 20 5b 6e 69 6c 20 67 | 72 65 70 2d 72 65 67 65 |" [nil g|rep-rege|
|000003b0| 78 70 2d 61 6c 69 73 74 | 20 28 6c 61 6d 62 64 61 |xp-alist| (lambda|
|000003c0| 20 28 6d 6f 64 65 29 20 | 28 63 6f 6e 63 61 74 20 | (mode) |(concat |
|000003d0| 22 2a 22 20 67 69 64 2d | 63 6f 6d 6d 61 6e 64 20 |"*" gid-|command |
|000003e0| 22 20 22 20 61 72 67 73 | 20 22 2a 22 29 29 20 63 |" " args| "*")) c|
|000003f0| 6f 6d 70 69 6c 61 74 69 | 6f 6e 2d 62 75 66 66 65 |ompilati|on-buffe|
|00000400| 72 2d 6e 61 6d 65 2d 66 | 75 6e 63 74 69 6f 6e 20 |r-name-f|unction |
|00000410| 63 6f 6d 70 69 6c 61 74 | 69 6f 6e 2d 65 72 72 6f |compilat|ion-erro|
|00000420| 72 2d 72 65 67 65 78 70 | 2d 61 6c 69 73 74 20 63 |r-regexp|-alist c|
|00000430| 6f 6d 70 69 6c 65 2d 63 | 6f 6d 6d 61 6e 64 20 63 |ompile-c|ommand c|
|00000440| 6f 6d 70 69 6c 65 20 67 | 69 64 2d 63 6f 6d 6d 61 |ompile g|id-comma|
|00000450| 6e 64 20 22 20 22 20 61 | 72 67 73 5d 20 34 20 28 |nd " " a|rgs] 4 (|
|00000460| 23 24 20 2e 20 36 34 34 | 29 20 28 6c 69 73 74 20 |#$ . 644|) (list |
|00000470| 28 72 65 61 64 2d 69 6e | 70 75 74 20 28 63 6f 6e |(read-in|put (con|
|00000480| 63 61 74 20 22 52 75 6e | 20 22 20 67 69 64 2d 63 |cat "Run| " gid-c|
|00000490| 6f 6d 6d 61 6e 64 20 22 | 20 28 77 69 74 68 20 61 |ommand "| (with a|
|000004a0| 72 67 73 29 3a 20 22 29 | 20 28 77 6f 72 64 2d 61 |rgs): ")| (word-a|
|000004b0| 72 6f 75 6e 64 2d 70 6f | 69 6e 74 29 29 29 5d 29 |round-po|int)))])|
|000004c0| 0a 23 40 34 37 20 52 65 | 74 75 72 6e 20 74 68 65 |.#@47 Re|turn the|
|000004d0| 20 77 6f 72 64 20 61 72 | 6f 75 6e 64 20 74 68 65 | word ar|ound the|
|000004e0| 20 70 6f 69 6e 74 20 61 | 73 20 61 20 73 74 72 69 | point a|s a stri|
|000004f0| 6e 67 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ng...(de|falias '|
|00000500| 77 6f 72 64 2d 61 72 6f | 75 6e 64 2d 70 6f 69 6e |word-aro|und-poin|
|00000510| 74 20 23 5b 6e 69 6c 20 | 22 8a 6d 84 08 00 c0 75 |t #[nil |".m....u|
|00000520| 88 c1 76 88 c0 76 88 c2 | c1 21 88 60 c2 c0 21 88 |..v..v..|.!.`..!.|
|00000530| 60 7b 29 87 22 20 5b 31 | 20 2d 31 20 66 6f 72 77 |`{)." [1| -1 forw|
|00000540| 61 72 64 2d 73 65 78 70 | 5d 20 33 20 28 23 24 20 |ard-sexp|] 3 (#$ |
|00000550| 2e 20 31 32 32 32 29 5d | 29 0a |. 1222)]|). |
+--------+-------------------------+-------------------------+--------+--------+